package com.arkisv.log.service.impl;

import com.arkisv.common.model.ParamLog;
import com.arkisv.log.dao.ParamLogMapper;
import com.arkisv.log.service.IParamLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 参数日志Service
 * Created by fb on 2017/2/07.
 */
@Service
public class ParamLogServiceImpl implements IParamLogService {
	@Autowired
	private ParamLogMapper paramLogDao;


	@Override
	public ParamLog get(long paramLogId) {
		return paramLogDao.selectByPrimaryKey(paramLogId);
	}

	@Override
	public List<ParamLog> list(ParamLog query) {
		return paramLogDao.query(query);
	}
}
